package dlg.code.bridge;

public class HuaweiComputer extends Computer{
    @Override
    void print() {
        System.out.println(brand.info() + "-" + name);
    }

    public HuaweiComputer(String name, Brand brand) {
        super(name, brand);
        this.brand = brand;
    }

}
